﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace teavch.Util.SitemapWriterSample
{
	static class Program
	{
		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		[STAThread]
		static void Main()
		{
			Application.EnableVisualStyles();
			Application.SetCompatibleTextRenderingDefault( false );
			
			string sXmlLocation = System.Environment.GetFolderPath( System.Environment.SpecialFolder.ApplicationData ) + "\\" + Application.ProductName;
			if ( !Directory.Exists( sXmlLocation ) )
				Directory.CreateDirectory( sXmlLocation );

			Application.Run( new frmSitemapWriter() );
		}
	}
}
